// @author ROGERIO
import java.rmi.Naming;
public class servidor {
    public servidor(){
    try{
        interfacebd objre = new implementacao();
        Naming.rebind("rmi;//localhost:1099/serviço", objre);
        }
catch (Exception e){
    System.out.println(e.getMessage());
}
    
    }
public static void main(String[] args){
    new servidor();
}

}
